package com.yc.cloud.wechat.dto.request;

import com.yc.cloud.basic.enums.EnumValue;
import com.yc.cloud.wechat.enums.WxGrantTypeEnums;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class WxBarCodeCreateParam {

    @ApiModelProperty(value = "授权类型,1->小程序 2->服务号 3->公众号", required = true)
    @EnumValue(enumClass = WxGrantTypeEnums.class, message = "不合法")
    private String grantType;

    @ApiModelProperty(value = "会员ID", hidden = true)
    private Long memberId;

    @ApiModelProperty(value = "会员名称", hidden = true)
    private String username;

}
